package com.servlet.yanglaoyuan.service;

import com.servlet.yanglaoyuan.pojo.Health_Checkup_Data;

import java.time.LocalDateTime;
import java.util.List;

public interface Health_Checkup_DataService {
    //添加一条体检记录
    public void add(Health_Checkup_Data health_checkup_data);
    //更新一条体检记录
    public void updateCheckupData(Health_Checkup_Data health_checkup_data);
    //通过id查询一条体检记录
    public Health_Checkup_Data getById(Integer id);
    //通过id删除一条体检记录
    public void deleteCheckupData(Integer id);
    //查询所有体检记录
    public List<Health_Checkup_Data> getAll();
    //通过老人ID查询所有体检记录
    public List<Health_Checkup_Data> getByElderlyId(Integer elderly_id);
    //通过时间范围查询所有体检记录
    public List<Health_Checkup_Data> getByDate(LocalDateTime startDate, LocalDateTime endDate);
}
